package com.airikeji.hr.domain;

import lombok.Data;

/**
 * @Author huangrui
 * @Date 2021/7/7 14:55
 * @Version 1.0
 */

/*{
    "exchanges":[
        {
            "name":"direct.mode",
            "type":"DIRECT"
        },
        {
            "name":"topic.mode",
            "type":"TOPIC"
        },
        {
            "name":"fanout.mode",
            "type":"FANOUT"
        },
        {
            "name":"headers.mode",
            "type":"HEADERS"
        }
    ],
    "queues":[
        {
            "name":"queue.direct.1",
            "routinKey":"queue.2",
            "exchangeName":"direct.mode"
        },
        {
            "name":"queue.2",
            "exchangeName":"fanout.mode"
        }
    ]
}*/
//压缩后：{"exchanges":[{"name":"direct.mode","type":"DIRECT"},{"name":"topic.mode","type":"TOPIC"},{"name":"fanout.mode","type":"FANOUT"},{"name":"headers.mode","type":"HEADERS"}],"queues":[{"name":"queue.direct.1","routingKey":"queue.2","exchangeName":"direct.mode"},{"name":"queue.2","exchangeName":"fanout.mode"}]}
@Data
public class MessageConfig {

    private String rabbitmqConfig;

}
